package com.iot.task;

import lombok.RequiredArgsConstructor;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
@RequiredArgsConstructor
public class OrderTask {

    //private final OrderService orderService;

    /**
     * 每个小时查询以到达工单，修改关联用户状态
     */
    //@Scheduled(cron = "0 0 0/1 * * ?")
    public void doTask() {
        //orderService.task(DateUtil.now());
    }
}
